package net.yla.smartbus.module.ba.vehicletype;

import net.yla.smartbus.core.enums.FuelTypeEnum;

/**
 * @author 默苍离
 * @date 2021/6/28 15:10
 * <p>
 * ******************************************
 * @annotation:
 */
public class test {

    public static void main(String[] args) {

        FuelTypeEnum 动力电池 = FuelTypeEnum.动力电池;
        int ordinal = 动力电池.ordinal();
        System.out.println(ordinal);

        FuelTypeEnum 煤气 = FuelTypeEnum.煤气;
        System.out.println(煤气);

        FuelTypeEnum[] values = FuelTypeEnum.values();
        for (FuelTypeEnum value : values) {
            Integer value1 = value.getValue();
            System.out.println(value1);
        }

    }


}
